package com.hm.base.service;

import java.util.List;

import com.hm.base.su.BaseConfig;
import com.hm.base.vo.DataAuthSupportVo;

/**
 * @author shishun.wang
 * @date 2017年12月14日 上午1:56:38
 * @version 1.0
 * @describe 数据权限
 */
public interface DataAuthService {

	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/base/DataAuthService/"
			+ BaseConfig.HttpInvokerEndpoing.VERSION;

	public List<String> getDataAuthCodesByUserId(Long subscriberId);
	
	public List<DataAuthSupportVo> getDataAuthsByRoleId(Long roleId);

	public void settingDataAuthsByRoleId(Long roleId, List<Long> dataAuthIds);
	
	public void refreshDataAuthsByRoleId(Long roleId);
}
